const express = require('express');
const perfromRouter = express.Router();
const perfromCtrol = require('../controller/perfromController')

//获取绩效指标信息
perfromRouter.get('/getPerfromInfo',perfromCtrol.getPerfromInfo);
//获取工时排名信息
perfromRouter.get('/getPerfromPaim',perfromCtrol.getPerfromPaim);
//获取个人工时信息
perfromRouter.post('/getPersonalTime',perfromCtrol.getPersonalTime);
//获取个人辅助工时信息
perfromRouter.post('/getPersonalFuzhuTime',perfromCtrol.getPersonalFuzhuTime);
//获取辅助工时列表
perfromRouter.get('/getAssistTimeList',perfromCtrol.getAssistTimeList);
//提交辅助工时申请
perfromRouter.post('/submitApplyInfo',perfromCtrol.submitApplyInfo);
//获取已申请辅助工时list
perfromRouter.post('/getDoneApplyTimeList',perfromCtrol.getDoneApplyTimeList);
//获取辅助工时审核list
perfromRouter.get('/getApplyCheckList',perfromCtrol.getApplyCheckList);
//辅助工时审核通过
perfromRouter.put('/updateApplyTimeList',perfromCtrol.updateApplyTimeList);
//辅助工时审核拒绝
perfromRouter.put('/refuseApplyTimeList',perfromCtrol.refuseApplyTimeList);

module.exports = perfromRouter;